//
//  TrendView.swift
//  XiaohuijiVPN
//
//  Created by topnet on 2022/9/28.
//

import UIKit

class TrendView: ICBaseView {

    override func _initUI() {
        lbl1 = UILabel()
        lbl1.textAlignment = .center
        lbl1.font = .font(11)
        lbl1.textColor = .content
        
        lbl2 = UILabel()
        lbl2.textAlignment = .center
        lbl2.font = .font(15, weight: .bold)
        lbl2.textColor = .title
        
        iv = UIImageView()
        
        da.addSubviews(sub: [lbl1, lbl2, iv])
    }

    
    override func initFrame() {
        lbl1.left_right(self).top(0).height(20.adapter)
        lbl2.left_right_offsetTop(lbl1).height(30.adapter)
        iv.centerX(bounds.width/2).top(lbl2.frame.maxY).width_height(100.adapter)
        lastV = iv
        autoHeight()
    }
    
    var lbl1: UILabel!
    var lbl2: UILabel!
    var iv: UIImageView!
}
